
<div class="gallery-content-audio tiled-gallery panel-body default-hidden" id="tiled_audio_content_{$v._id}">
    
    {foreach from=$v.child_folders.audio key=kk item=vv}
    <div class="item" id="tiled_item_{$vv._id}">
        <div class="text-center tiled-item-top">
            <i class="fa fa-folder-open cursor-pointer m-t gallery-folder" 
                    data-card_id="{$v._id}" data-fid="{$vv.fid}" data-type="audio"></i>
        </div>
        <div class="tiled-item-bottom">
            <div class="text-center padder-t-xs padder-b-xs tiled-info">
                <font class="title">{$vv.title}</font>
                <input type="text" class="form-control title-input default-hidden" 
                        value="{$vv.title}" data-folder_id="{$vv._id}" data-show_type="tiled" />
            </div>
            <div class="btn-group btn-group-justified">
                <a class="btn btn-sm btn-orange action-rename" data-show_type="tiled">重命名</a>
                <a class="btn btn-sm btn-red action-delete" data-folder_id="{$vv._id}" data-fid="{$vv.fid}" data-show_type="tiled">删除</a>
            </div>
        </div>
    </div>
    {/foreach}
    
    {foreach from=$v.attachments_audio_info key=kk item=vv}
    {if $vv.folder_hid == $v.parent_folder.audio.hid}
    <div class="item" id="tiled_item_{$vv._id}">
        <div class="text-center tiled-item-top">
            <a href="/workbenchadmin/audio?_id={$vv._id}&card_id={$v._id}" title="点击进入编辑" target="_blank">
                <i class="fa fa-music m-t gallery-folder"></i>
            </a>
        </div>
        <div class="tiled-item-bottom">
            <div class="text-center padder-t-xs padder-b-xs tiled-info" title="{$vv.title}">{$vv.title}</div>
            <div class="btn-group btn-group-justified">
                <a class="btn btn-sm btn-orange" href="/workbenchadmin/audio?_id={$vv._id}&card_id={$v._id}" target="_blank">编辑</a>
                <a class="btn btn-sm btn-info action-move" data-card_id="{$v._id}" data-a_id="{$vv._id}" 
                        data-folder_hid="{$vv.folder_hid}" data-type="audio">移动</a>
                <a class="btn btn-sm btn-lightblue" href="{$_DOWNLOAD_URL}?_id={$vv._id}" target="_blank">下载</a>
            </div>
        </div>
    </div>
    {/if}
    {/foreach}
    
</div>

<!-- modal - 选择迁移目录 -->
<div class="modal fade" id="modal_move_audio_{$v._id}">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close close-modal" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title">选择迁移目录</h4>
            </div>
            <div class="modal-body panel-body">
                
                <form class="form-horizontal">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">移动至</label>
                        <div class="col-sm-7">
                            <select class="form-control">
                                
                            </select>
                        </div>
                    </div>
                </form>
                
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-s-md btn-primary input-submit-move" data-card_id="{$v._id}" data-type="audio">确定</button>
                <button type="button" class="btn btn-danger close-modal" data-dismiss="modal">取消</button>
                <input type="hidden" name="a_id" value="" />
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
<!-- / modal - 选择迁移目录 -->
